package com.zhyz.bookstore.service.impl;

import com.zhyz.bookstore.dao.CartDao;
import com.zhyz.bookstore.dao.impl.CartDaoImpl;
import com.zhyz.bookstore.entity.Category;
import com.zhyz.bookstore.service.CartService;

import java.util.List;

public class CartServiceImpl implements CartService {
    private CartDao cartDao = new CartDaoImpl();
    /*
     * 返回商品列表
     * */
    @Override
    public List<Category> findAllCategory() {
        return cartDao.findAllCategory();
    }
}
